import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { ApplyService } from "./apply.service";
import { ApplyController } from './apply.controller';
import { Apply } from "./apply.entity";
import { Workflow } from "./workflow.entity";
import { AttendanceModule } from "src/attendance/attendance.module";
import { DepartModule } from "src/depart/depart.module";




@Module({
    imports: [
        TypeOrmModule.forFeature([
            Apply,
            Workflow
        ]),
        AttendanceModule,
        DepartModule
    ],
    providers: [ApplyService],
    exports: [ApplyService],
    controllers: [ApplyController]
})
export class ApplyModule { }